package com.gateway.common.dto.sync;


import com.gateway.common.dto.BaseSyncData;
import com.gateway.common.enums.DataEventTypeEnum;

/**
 * @program: ahcloud-gateway
 * @description:
 * @author: YuKai Fan
 * @create: 2023/5/29 21:58
 **/
public class RouteFilterSyncData implements BaseSyncData {

    /**
     * 路由id
     */
    private String routeId;

    /**
     * 过滤器id
     */
    private String filterId;

    private DataEventTypeEnum eventType;

    private Integer version;

    public RouteFilterSyncData() {
    }

    /**
     * 当前环境
     */
    private String env;


    public String getRouteId() {
        return routeId;
    }

    public String getEnv() {
        return env;
    }

    @Override
    public DataEventTypeEnum getEventType() {
        return this.eventType;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public void setRouteId(String routeId) {
        this.routeId = routeId;
    }

    public String getFilterId() {
        return filterId;
    }

    public void setFilterId(String filterId) {
        this.filterId = filterId;
    }

    public void setEventType(DataEventTypeEnum eventType) {
        this.eventType = eventType;
    }

    public void setEnv(String env) {
        this.env = env;
    }
}
